﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Update.aspx.cs" Inherits="blackhouse.BlackApart.Web.Update" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OldValuesParameterFormatString="original_{0}"
            SelectMethod="Select" TypeName="blackhouse.BlackApart.Web.DalActionLog"></asp:ObjectDataSource>
    </div>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" 
        CellPadding="3" DataSourceID="ObjectDataSource1" HorizontalAlign="Center" 
        Width="90%">
        <Columns>
            <asp:BoundField DataField="Title" HeaderText="Tytuł" SortExpression="Title">
            <ItemStyle Font-Bold="True" />
            </asp:BoundField>
            <asp:BoundField DataField="StartDate" DataFormatString="{0:T}" 
                HeaderText="Start" SortExpression="StartDate" />
            <asp:BoundField DataField="EndDate" DataFormatString="{0:T}" 
                HeaderText="Koniec" SortExpression="EndDate" />
            <asp:BoundField DataField="Message" HeaderText="Treść" 
                SortExpression="Message" />
        </Columns>
        <FooterStyle BackColor="White" ForeColor="#000066" />
        <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" 
            HorizontalAlign="Left" />
        <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
        <RowStyle ForeColor="#000066" HorizontalAlign="Left" VerticalAlign="Top" />
        <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#F1F1F1" />
        <SortedAscendingHeaderStyle BackColor="#007DBB" />
        <SortedDescendingCellStyle BackColor="#CAC9C9" />
        <SortedDescendingHeaderStyle BackColor="#00547E" />
    </asp:GridView>
    </form>
</body>
</html>
